package markov;

public class MDPStateTable {

	float[] values;
	byte[] actions;
	
	
	public MDPStateTable(int stateSpace){
		values = new float[stateSpace];
		actions = new byte[stateSpace];
	}

	public void setValue(int i, float value, byte action) {
		values[i] = value;
		actions[i] = action;
	}
	
	public float getValue(int i){
		return values[i];
	}
	
	public byte getAction(int i){
		return actions[i];
	}
	
}


